<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }
    .box {
      width: 100vw;
      height: 50vh;
      background-color: pink;
    }
    .box2 {
      width: 100vw;
      height: 50vh;
      background-color: skyblue;
    }
  </style>
</head>
<body>

  <!-- 希望box是全屏的 -->
  <div class="box"></div>
  <div class="box2"></div>
  
</body>
</html>